package tickets;

import java.io.Serializable;

import javax.crypto.SealedObject;
import javax.crypto.SecretKey;

/**
 * Stellt das verschl�sselte Ticket dar
 * 
 * Benutzername + Ka,tgs verschl�sselt mit Kas,tgs
 * 
 */
public class CipherTicket implements Serializable {

  private static final long serialVersionUID = 2509157095576657213L;

  private SealedObject cipherTicket;
  private SecretKey key;

  public CipherTicket(SealedObject cipherTicket, SecretKey key) {
    super();
    this.cipherTicket = cipherTicket;
    this.key = key;
  }

  public SealedObject getCipherTicket() {
    return cipherTicket;
  }

  public SecretKey getKey() {
    return key;
  }

}
